/*
{
"server_id": "12313",
"name": "123123123"
}
 */
class ServerInfoResponse {
  String name;
  String serverId;

  ServerInfoResponse({this.name, this.serverId});

  static ServerInfoResponse fromJson(Map<String, dynamic> json) {
    return ServerInfoResponse(
      name: json['name'],
      serverId: json['server_id'],
    );
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['name'] = this.name;
    data['server_id'] = this.serverId;
    return data;
  }
}
